3.66 \(\int \frac {\sqrt {c+d x^2} \sqrt {e+f x^2}}{a+b x^2} \, dx\)

Optimal. Leaf size=321 \[ \frac {e^{3/2} \sqrt {c+d x^2} (b c-a d) \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a b c \sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}+\frac {d e^{3/2} \sqrt {c+d x^2} F\left (\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b c \sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}+\frac {f x \sqrt {c+d x^2}}{b \sqrt {e+f x^2}}-\frac {\sqrt {e} \sqrt {f} \sqrt {c+d x^2} E\left (\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}} \]

[Out]

f*x*(d*x^2+c)^(1/2)/b/(f*x^2+e)^(1/2)+d*e^(3/2)*(1/(1+f*x^2/e))^(1/2)*(1+f*x^2/e)^(1/2)*EllipticF(x*f^(1/2)/e^
(1/2)/(1+f*x^2/e)^(1/2),(1-d*e/c/f)^(1/2))*(d*x^2+c)^(1/2)/b/c/f^(1/2)/(e*(d*x^2+c)/c/(f*x^2+e))^(1/2)/(f*x^2+
e)^(1/2)+(-a*d+b*c)*e^(3/2)*(1/(1+f*x^2/e))^(1/2)*(1+f*x^2/e)^(1/2)*EllipticPi(x*f^(1/2)/e^(1/2)/(1+f*x^2/e)^(
1/2),1-b*e/a/f,(1-d*e/c/f)^(1/2))*(d*x^2+c)^(1/2)/a/b/c/f^(1/2)/(e*(d*x^2+c)/c/(f*x^2+e))^(1/2)/(f*x^2+e)^(1/2
)-(1/(1+f*x^2/e))^(1/2)*(1+f*x^2/e)^(1/2)*EllipticE(x*f^(1/2)/e^(1/2)/(1+f*x^2/e)^(1/2),(1-d*e/c/f)^(1/2))*e^(
1/2)*f^(1/2)*(d*x^2+c)^(1/2)/b/(e*(d*x^2+c)/c/(f*x^2+e))^(1/2)/(f*x^2+e)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.19, antiderivative size = 321, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {535, 422, 418, 492, 411, 539} \[ \frac {e^{3/2} \sqrt {c+d x^2} (b c-a d) \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a b c \sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}+\frac {d e^{3/2} \sqrt {c+d x^2} F\left (\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b c \sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}+\frac {f x \sqrt {c+d x^2}}{b \sqrt {e+f x^2}}-\frac {\sqrt {e} \sqrt {f} \sqrt {c+d x^2} E\left (\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}} \]

Antiderivative was successfully verified.

[In]

Int[(Sqrt[c + d*x^2]*Sqrt[e + f*x^2])/(a + b*x^2),x]

[Out]

(f*x*Sqrt[c + d*x^2])/(b*Sqrt[e + f*x^2]) - (Sqrt[e]*Sqrt[f]*Sqrt[c + d*x^2]*EllipticE[ArcTan[(Sqrt[f]*x)/Sqrt
[e]], 1 - (d*e)/(c*f)])/(b*Sqrt[(e*(c + d*x^2))/(c*(e + f*x^2))]*Sqrt[e + f*x^2]) + (d*e^(3/2)*Sqrt[c + d*x^2]
*EllipticF[ArcTan[(Sqrt[f]*x)/Sqrt[e]], 1 - (d*e)/(c*f)])/(b*c*Sqrt[f]*Sqrt[(e*(c + d*x^2))/(c*(e + f*x^2))]*S
qrt[e + f*x^2]) + ((b*c - a*d)*e^(3/2)*Sqrt[c + d*x^2]*EllipticPi[1 - (b*e)/(a*f), ArcTan[(Sqrt[f]*x)/Sqrt[e]]
, 1 - (d*e)/(c*f)])/(a*b*c*Sqrt[f]*Sqrt[(e*(c + d*x^2))/(c*(e + f*x^2))]*Sqrt[e + f*x^2])

Rule 411

Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[(Sqrt[a + b*x^2]*EllipticE[ArcTan
[Rt[d/c, 2]*x], 1 - (b*c)/(a*d)])/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[(c*(a + b*x^2))/(a*(c + d*x^2))]), x] /;
FreeQ[{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]

Rule 418

Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[(Sqrt[a + b*x^2]*EllipticF[ArcT
an[Rt[d/c, 2]*x], 1 - (b*c)/(a*d)])/(a*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[(c*(a + b*x^2))/(a*(c + d*x^2))]), x] /
; FreeQ[{a, b, c, d}, x] && PosQ[d/c] && PosQ[b/a] &&  !SimplerSqrtQ[b/a, d/c]

Rule 422

Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Dist[a, Int[1/(Sqrt[a + b*x^2]*Sqrt[c +
d*x^2]), x], x] + Dist[b, Int[x^2/(Sqrt[a + b*x^2]*Sqrt[c + d*x^2]), x], x] /; FreeQ[{a, b, c, d}, x] && PosQ[
d/c] && PosQ[b/a]

Rule 492

Int[(x_)^2/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[(x*Sqrt[a + b*x^2])/(b*Sqr
t[c + d*x^2]), x] - Dist[c/b, Int[Sqrt[a + b*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b
*c - a*d, 0] && PosQ[b/a] && PosQ[d/c] &&  !SimplerSqrtQ[b/a, d/c]

Rule 535

Int[(Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x_)^2])/((a_) + (b_.)*(x_)^2), x_Symbol] :> Dist[d/b, Int[Sq
rt[e + f*x^2]/Sqrt[c + d*x^2], x], x] + Dist[(b*c - a*d)/b, Int[Sqrt[e + f*x^2]/((a + b*x^2)*Sqrt[c + d*x^2]),
 x], x] /; FreeQ[{a, b, c, d, e, f}, x] &&  !SimplerSqrtQ[-(f/e), -(d/c)]

Rule 539

Int[Sqrt[(c_) + (d_.)*(x_)^2]/(((a_) + (b_.)*(x_)^2)*Sqrt[(e_) + (f_.)*(x_)^2]), x_Symbol] :> Simp[(c*Sqrt[e +
 f*x^2]*EllipticPi[1 - (b*c)/(a*d), ArcTan[Rt[d/c, 2]*x], 1 - (c*f)/(d*e)])/(a*e*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sq
rt[(c*(e + f*x^2))/(e*(c + d*x^2))]), x] /; FreeQ[{a, b, c, d, e, f}, x] && PosQ[d/c]

Rubi steps

\begin {align*} \int \frac {\sqrt {c+d x^2} \sqrt {e+f x^2}}{a+b x^2} \, dx &=\frac {d \int \frac {\sqrt {e+f x^2}}{\sqrt {c+d x^2}} \, dx}{b}+\frac {(b c-a d) \int \frac {\sqrt {e+f x^2}}{\left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx}{b}\\ &=\frac {(b c-a d) e^{3/2} \sqrt {c+d x^2} \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a b c \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}+\frac {(d e) \int \frac {1}{\sqrt {c+d x^2} \sqrt {e+f x^2}} \, dx}{b}+\frac {(d f) \int \frac {x^2}{\sqrt {c+d x^2} \sqrt {e+f x^2}} \, dx}{b}\\ &=\frac {f x \sqrt {c+d x^2}}{b \sqrt {e+f x^2}}+\frac {d e^{3/2} \sqrt {c+d x^2} F\left (\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b c \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}+\frac {(b c-a d) e^{3/2} \sqrt {c+d x^2} \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a b c \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}-\frac {(e f) \int \frac {\sqrt {c+d x^2}}{\left (e+f x^2\right )^{3/2}} \, dx}{b}\\ &=\frac {f x \sqrt {c+d x^2}}{b \sqrt {e+f x^2}}-\frac {\sqrt {e} \sqrt {f} \sqrt {c+d x^2} E\left (\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}+\frac {d e^{3/2} \sqrt {c+d x^2} F\left (\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b c \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}+\frac {(b c-a d) e^{3/2} \sqrt {c+d x^2} \Pi \left (1-\frac {b e}{a f};\tan ^{-1}\left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{a b c \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.39, size = 184, normalized size = 0.57 \[ -\frac {i \sqrt {\frac {d x^2}{c}+1} \sqrt {\frac {f x^2}{e}+1} \left (a b d e E\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )+(b c-a d) \left ((b e-a f) \Pi \left (\frac {b c}{a d};i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )+a f F\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )\right )\right )}{a b^2 \sqrt {\frac {d}{c}} \sqrt {c+d x^2} \sqrt {e+f x^2}} \]

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[c + d*x^2]*Sqrt[e + f*x^2])/(a + b*x^2),x]

[Out]

((-I)*Sqrt[1 + (d*x^2)/c]*Sqrt[1 + (f*x^2)/e]*(a*b*d*e*EllipticE[I*ArcSinh[Sqrt[d/c]*x], (c*f)/(d*e)] + (b*c -
 a*d)*(a*f*EllipticF[I*ArcSinh[Sqrt[d/c]*x], (c*f)/(d*e)] + (b*e - a*f)*EllipticPi[(b*c)/(a*d), I*ArcSinh[Sqrt
[d/c]*x], (c*f)/(d*e)])))/(a*b^2*Sqrt[d/c]*Sqrt[c + d*x^2]*Sqrt[e + f*x^2])

________________________________________________________________________________________

fricas [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^2+c)^(1/2)*(f*x^2+e)^(1/2)/(b*x^2+a),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {d x^{2} + c} \sqrt {f x^{2} + e}}{b x^{2} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^2+c)^(1/2)*(f*x^2+e)^(1/2)/(b*x^2+a),x, algorithm="giac")

[Out]

integrate(sqrt(d*x^2 + c)*sqrt(f*x^2 + e)/(b*x^2 + a), x)

________________________________________________________________________________________

maple [A]  time = 0.02, size = 340, normalized size = 1.06 \[ \frac {\left (-a^{2} d f \EllipticF \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )+a^{2} d f \EllipticPi \left (\sqrt {-\frac {d}{c}}\, x , \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )+a b c f \EllipticF \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )-a b c f \EllipticPi \left (\sqrt {-\frac {d}{c}}\, x , \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )+a b d e \EllipticE \left (\sqrt {-\frac {d}{c}}\, x , \sqrt {\frac {c f}{d e}}\right )-a b d e \EllipticPi \left (\sqrt {-\frac {d}{c}}\, x , \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )+b^{2} c e \EllipticPi \left (\sqrt {-\frac {d}{c}}\, x , \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )\right ) \sqrt {d \,x^{2}+c}\, \sqrt {f \,x^{2}+e}\, \sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {\frac {f \,x^{2}+e}{e}}}{\left (d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e \right ) \sqrt {-\frac {d}{c}}\, a \,b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x^2+c)^(1/2)*(f*x^2+e)^(1/2)/(b*x^2+a),x)

[Out]

(-EllipticF((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a^2*d*f+EllipticF((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a*b*c*f+Elli
pticE((-1/c*d)^(1/2)*x,(c/d/e*f)^(1/2))*a*b*d*e+EllipticPi((-1/c*d)^(1/2)*x,1/a*b*c/d,(-1/e*f)^(1/2)/(-1/c*d)^
(1/2))*a^2*d*f-EllipticPi((-1/c*d)^(1/2)*x,1/a*b*c/d,(-1/e*f)^(1/2)/(-1/c*d)^(1/2))*a*b*c*f-EllipticPi((-1/c*d
)^(1/2)*x,1/a*b*c/d,(-1/e*f)^(1/2)/(-1/c*d)^(1/2))*a*b*d*e+EllipticPi((-1/c*d)^(1/2)*x,1/a*b*c/d,(-1/e*f)^(1/2
)/(-1/c*d)^(1/2))*b^2*c*e)*(d*x^2+c)^(1/2)*(f*x^2+e)^(1/2)*((d*x^2+c)/c)^(1/2)*((f*x^2+e)/e)^(1/2)/(d*f*x^4+c*
f*x^2+d*e*x^2+c*e)/b^2/(-1/c*d)^(1/2)/a

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {d x^{2} + c} \sqrt {f x^{2} + e}}{b x^{2} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^2+c)^(1/2)*(f*x^2+e)^(1/2)/(b*x^2+a),x, algorithm="maxima")

[Out]

integrate(sqrt(d*x^2 + c)*sqrt(f*x^2 + e)/(b*x^2 + a), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\sqrt {d\,x^2+c}\,\sqrt {f\,x^2+e}}{b\,x^2+a} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((c + d*x^2)^(1/2)*(e + f*x^2)^(1/2))/(a + b*x^2),x)

[Out]

int(((c + d*x^2)^(1/2)*(e + f*x^2)^(1/2))/(a + b*x^2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {c + d x^{2}} \sqrt {e + f x^{2}}}{a + b x^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x**2+c)**(1/2)*(f*x**2+e)**(1/2)/(b*x**2+a),x)

[Out]

Integral(sqrt(c + d*x**2)*sqrt(e + f*x**2)/(a + b*x**2), x)

________________________________________________________________________________________